import math
n = int(input("请输入整数n:"))
num = math.factorial(n)
print("n!={}".format(num))